package com.example.auth.utils;

public enum  ResultEnum {

    SUCCESS(20000, "成功"),

    UNKNOWN_ERROR(20001,"未知错误");


    private Integer code;
    private String message;

    ResultEnum(Integer code , String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }


}
